﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Vit.Web.Validation;

namespace Vit.Web.Validation
{
    public class ValidationException : ApplicationException
    {
        public ValidationException() { }

        public ValidationException(string message)
            : base(message) { }

        public ValidationException(string message, Exception innerException)
            : base(message, innerException) { }

        public ValidationException(SerializationInfo info, StreamingContext context)
            : base(info, context) { }

        public ValidationStateDictionary ValidationState { get; set; }
    }
}
